package it.text;

public class text02 {
    public static void main(String[] args) {
        int sum = sum1();
        System.out.println(sum);


    }

    public static int sum1(){
        int[] arr={68,27,95,88,171,996,51,210};
        int sum=0;
        for (int i = 0; i < arr.length; i++) {
            if (arr[i]%10!=7 && arr[i]/10%10!=7 && arr[i]%2==0) {
                sum+=arr[i];
            }
        }
        return sum;

    }

}
